﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BRL;
using System.Data;
using BLL;


namespace CentroMedico
{
    public partial class Formulario_web4 : System.Web.UI.Page
    {
        DataTable dtValor = new DataTable();
        BRL_CentroMedico svcCentroMedico = new BRL_CentroMedico();
        DataTable dtCentroMedico = new DataTable();
        BLL_CentroMedico objCentroMedico = new BLL_CentroMedico();

        protected BRL_Valor svcValor = new BRL_Valor();
        protected DataTable dtValores = new DataTable();
        protected BLL_Valor objValor = new BLL_Valor();
        protected List<BLL_Valor> ValorList = new List<BLL_Valor>();


        protected void Page_Load(object sender, EventArgs e)
        {
            /*dtValor= svcValor.selectAll();
            gvValor.DataSource = dtValor;
            gvValor.DataBind();*/

            objCentroMedico = svcCentroMedico.getCentroMedico();
            lblMision.Text = objCentroMedico.mision;
            lblVision.Text = objCentroMedico.vision;
            lblObjetivo.Text = objCentroMedico.objetivo;
            lblHistoria.Text = objCentroMedico.historia;
            //dtCentroMedico = svcCentroMedico.select();


            ValorList = svcValor.selectAll();


            
            /*
             * protected void btnListarClientes_Click(object sender, EventArgs e)
    {
        objCliente = new LoadPartner_CapaBLL.BLL_Cliente();
        dtCliente = objCliente.ListarClientesAll();
        gvCliente.DataSource = dtCliente;
        gvCliente.DataBind();
    }
             */


        }

       
    }
}